setsumbit=function(){
	let button=document.getElementById("addsubimt");
	button.onclick=function(){
		myclick();
	}
}
myclick=function(){
	let xml;
	let id=document.getElementById('emid');
	let lv=document.getElementById('jg').value;
	let name=document.getElementById('name').value;
	let pid=document.getElementById('parent').value;
	if (window.XMLHttpRequest)
	{
	    //  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
	    xml=new XMLHttpRequest();
	}
	else
	{
	    // IE6, IE5 浏览器执行代码
	    xml=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xml.onreadystatechange=function(){
		if(xml.readyState==4&&xml.status==200){
			let t=JSON.parse(xml.responseText);
			alert(t.data);
		}
	}
	xml.open("post","/institution/addInstitution",true);
	xml.setRequestHeader('content-type','application/x-www-form-urlencoded');
	xml.send('iName='+name+'&iLevel='+lv+'&iParent='+pid);
}